﻿namespace Production.CommonLib.Constants
{
    public static class ApiRoutes
    {
        private const string Root = "api";
        private const string Version = "v1";
        private const string Base = Root + "/" + Version;

        public static class ProductionPlan
        {
            public const string QueryProductionPlans = Base + "/productionplans";

            public const string DeleteProductionPlan = Base + "/productionplans/{id}";

            public const string UpdateProductionPlan = Base + "/productionplans/{id}";

            public const string CreateProductionPlan = Base + "/productionplans";

            public const string GetProductionPlan = Base + "/productionplans/{id}";

            public const string ExportProductionPlan = Base + "/productionplans/export";

            public const string ExportTemplateProductionPlan = Base + "/productionplans/exporttemplate";

            public const string ImportProductionPlan = Base + "/productionplans/import";

            public const string CalculatingProductionPlan = Base + "/productionplans/calculating";
        }

        public static class ProductionOrder
        {
            public const string QueryProductionOrders = Base + "/productionorders";

            public const string DeleteProductionOrder = Base + "/productionorders/{id}";

            public const string UpdateProductionOrder = Base + "/productionorders/{id}";

            public const string CreateProductionOrder = Base + "/productionorders";

            public const string GetProductionOrder = Base + "/productionorders/{id}";

            public const string ExportProductionOrder = Base + "/productionorders/export";

            public const string ExportTemplateProductionOrder = Base + "/productionorders/exporttemplate";

            public const string ImportProductionOrder = Base + "/productionorders/import";

            public const string GenerateProductionOrder = Base + "/productionorders/generate";
        }

        public static class ProcessCategory
        {
            public const string QueryProcessCategories = Base + "/processcategories";

            public const string DeleteProcessCategory = Base + "/processcategories/{id}";

            public const string UpdateProcessCategory = Base + "/processcategories/{id}";

            public const string CreateProcessCategory = Base + "/processcategories";

            public const string GetProcessCategory = Base + "/processcategories/{id}";

            public const string ExportProcessCategory = Base + "/processcategories/export";

            public const string ExportTemplateProcessCategory = Base + "/processcategories/exporttemplate";

            public const string ImportProcessCategory = Base + "/processcategories/import";
        }

        public static class Process
        {
            public const string QueryProcesses = Base + "/processes";

            public const string DeleteProcess = Base + "/processes/{id}";

            public const string UpdateProcess = Base + "/processes/{id}";

            public const string CreateProcess = Base + "/processes";

            public const string GetProcess = Base + "/processes/{id}";

            public const string ExportProcess = Base + "/processes/export";

            public const string ExportTemplateProcess = Base + "/processes/exporttemplate";

            public const string ImportProcess = Base + "/processes/import";
        }

        public static class StandardBom
        {
            public const string QueryStandardBoms = Base + "/standardboms";

            public const string DeleteStandardBom = Base + "/standardboms/{id}";

            public const string UpdateStandardBom = Base + "/standardboms/{id}";

            public const string CreateStandardBom = Base + "/standardboms";

            public const string GetStandardBom = Base + "/standardboms/{id}";

            public const string ExportStandardBom = Base + "/standardboms/export";

            public const string ExportTemplateStandardBom = Base + "/standardboms/exporttemplate";

            public const string ImportStandardBom = Base + "/standardboms/import";
        }

        public static class ProcessBom
        {
            public const string QueryProcessBoms = Base + "/processboms";

            public const string DeleteProcessBom = Base + "/processboms/{id}";

            public const string UpdateProcessBom = Base + "/processboms/{id}";

            public const string CreateProcessBom = Base + "/processboms";

            public const string GetProcessBom = Base + "/processboms/{id}";

            public const string ExportProcessBom = Base + "/processboms/export";

            public const string ExportTemplateProcessBom = Base + "/processboms/exporttemplate";

            public const string ImportProcessBom = Base + "/processboms/import";
        }

        public static class Technology
        {
            public const string QueryTechnologies = Base + "/technologies";

            public const string DeleteTechnology = Base + "/technologies/{id}";

            public const string UpdateTechnology = Base + "/technologies/{id}";

            public const string CreateTechnology = Base + "/technologies";

            public const string GetTechnology = Base + "/technologies/{id}";

            public const string ExportTechnology = Base + "/technologies/export";

            public const string ExportTemplateTechnology = Base + "/technologies/exporttemplate";

            public const string ImportTechnology = Base + "/technologies/import";
        }

        public static class ProductionResource
        {
            public const string QueryProductionResources = Base + "/productionresources";

            public const string DeleteProductionResource = Base + "/productionresources/{id}";

            public const string UpdateProductionResource = Base + "/productionresources/{id}";

            public const string CreateProductionResource = Base + "/productionresources";

            public const string GetProductionResource = Base + "/productionresources/{id}";

            public const string ExportProductionResource = Base + "/productionresources/export";

            public const string ExportTemplateProductionResource = Base + "/productionresources/exporttemplate";

            public const string ImportProductionResource = Base + "/productionresources/import";
        }
    }
}